home *** CD-ROM | disk | FTP | other *** search
- shader()
- {
- cull("ccw")
- pass()
- {
- tmu()
- {
- TexGen("planar")
- TexMod("scale", "const", %terrain_inv_x, 0, 0, "const", %terrain_inv_z, 0, 0)
- texture()
- {
- Image(%colortexture)
- addressfunc("clamp", "clamp", "clamp")
- }
- }
- tmu()
- {
- TexGen("planar")
- TexMod("scale", "const", %terrain_inv_x, 0, 0, "const", %terrain_inv_z, 0, 0)
- texture()
- {
- Image("Road.dds")
- addressfunc("clamp", "clamp", "clamp")
- }
- ColorOp("blend_factor_alpha", "texture", "current", "current")
- }
- tfactor(1, 1, 1, 0.5)
-
- }
- }
-
-